package com.scott.ch02;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Service;

/**
 * 演示@ComponentScan注解的第2层心法
 */
@Configuration
@ComponentScan(value = "com.scott.crm.student",excludeFilters = {

        @ComponentScan.Filter(type=FilterType.ANNOTATION,classes={Controller.class, Service.class})
})
public class ScottConfigurationCh02 {
}
